<template>
  <div class="cassify">
    <Header></Header>
    <Navber :navList='navList'></Navber>
    <Content></Content>
  </div>
</template>

<script>
// 引入封装好的接口
import url from '@/api/url.js'
import Header from './module/header'
import Navber from './module/navber'
import Content from './module/content'
export default {
  data () {
    return {
      navList: []
    }
  },
  created () {
    this.$http.get(url.getClassifyInfo)
      .then((res) => {
        this.navList = res.data.categoryL1List
      })
  },
  components: {
    Header,
    Navber,
    Content
  }
}
</script>

<style lang='less' scoped>
</style>
